package com.stoneframe.base.dao;

public interface IDao {
	
	/**
	 * 保存对象
	 */
	public Object save(String str, Object obj) throws Exception;
	
	/**
	 * 修改对象
	 */
	public Object edit(String str, Object obj) throws Exception;
	
	/**
	 * 删除对象 
	 */
	public Object del(String str, Object obj) throws Exception;

	/**
	 * 查找对象
	 */
	public Object findForObject(String str, Object obj) throws Exception;

	/**
	 * 查找对象
	 */
	public Object findForList(String str, Object obj) throws Exception;
	
	/**
	 * 查找对象封装成Map
	 */
	public Object findForMap(String sql, Object obj, String key , String value) throws Exception;

}
